package com.itheima.service.db;

import com.itheima.domain.SmsHomeRecommendSubject;
import com.itheima.util.R;
import com.itheima.vo.PageBeanVo;

import java.util.List;

public interface SmsHomeRecommendSubjectService {
    PageBeanVo findRecommendSubjectByPage(Integer pageNum, Integer pageSize, String subjectName, Integer recommendStatus);

    R addSubject(List<SmsHomeRecommendSubject> smsHomeRecommendSubjectList);

    //根据id修改状态
    void update(Long id, Integer recommendStatus);

    //删除人气推荐
    void delete(Long id);

    //修改首页人气排序
    void updateSort(Long id, Integer sort);
}
